html, body{
    height: 100%;
    min-height: 100%;
    min-width: 932px;
}

.addButton, .mapButton, .editButton, .status, .iconArrow, .userMenu li #userSettings, .userMessage, .deleteButton{
    background-image: url('/gpstraces/faces/javax.faces.resource/image/sprites.png?ln=default');
}

body {
    width: auto;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 22px;
}

#bodyHead {
    border-bottom: 1px solid #8A95A6;
    background-color: #2d2d2d;
    height: auto;
    display:block;
    left: 0px;
    top: 0px;
    color: #CCCCCC;
    font-size: 13px;
    min-height: 35px;
    padding-top: 6px;
}

#headBar{
    display: inline-block;
    height: 32px;
    float: left;
}


#headBar h1 {
    display: block;
    float: right;
    height: 32px;
    margin: 0 5px;
    padding: 3px 5px 0;
    width: auto;
    font-size: 22px
}

#bodyContent {
    display: block;
    height: auto;
    width: auto;
    min-width: 782px;
    min-height: 800px;
}

#bodyContent .wrapper {
    width: 960px;
}

#bodyFoot {
    background-color: #e3e9ff;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #8A95A6;
    height: 80px;
    width: 100%;
    min-height: 80px;
}

#bodyFoot .wrapper h2 {
    color: #333;
    display: block;
    float: left;
    width: 300px;
    text-align: left;
    font-size: 12px;
    margin-top: 29px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 20px;
    font-weight: bold;
    line-height: normal;
    text-decoration: none;
}

#content {
    display: block;
    height: 100%;
    width: 705px;
    padding: 15px 0px 10px;
    margin: 0 auto;
    min-height: 800px;
    min-width: 521px;
    line-height: 19px;
    font-size: 0.9em;
    font-weight: normal;
    color: #333;
}

#content h3{
    color: #636478;
    font-weight: normal;
    text-align: left;
    font-size: 20px;
    display: block;
    padding-bottom: 10px;
    width: 100%;
    margin-bottom: 20px;
}

#content > h4{
    color: #636478;
    font-weight: normal;
    text-align: justify;
    font-size: 18px;
    display: block;
    width: 100%;
    margin-top: 20px;
}

#content fieldset h4{
    color: #636478;
    font-weight: normal;
    font-size: 16px;
}

#contentTitle{
    display: block;
    min-height: 30px;
    width: 100%;
    border-bottom: 1px solid #8A95A6;
    background-color: #e3e9ff;
}

#contentWrapper{
    background-color: white;
    display: block;
    height: auto;
    min-height: 800px;
    min-width: 521px;
    width: 730px;
    margin-left: 255px;
    border-right: 1px solid #CCC;
    border-left: 1px solid #CCC;
}

#subMenu {
    display: block;
    float: left;
    width: 235px;
    height: auto;
    padding: 15px 10px 10px;
    min-height: 700px;  
}


#footerNavigationBar {
    display: block;
    height: auto;
    width: auto;
    position: relative;
    float: right;
    margin-top: 29px;
    list-style-position: outside;
    list-style-image: none;
    list-style-type: none;
    margin-right: 15px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
}
#footerNavigationBar li  {
    display: block;
    float: left;
    width: auto;
    position: relative;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #999999;
    padding-right: 10px;
    padding-left: 10px;

}
#footerNavigationBar li a  {
    text-decoration: none;
    display: block;
    margin-top: 0px;
    margin-right: 7px;
    margin-bottom: 0px;
    margin-left: 7px;
    color: #415591;
}

#footerNavigationBar > li > a:hover{
    text-decoration: none;
    display: block;
    margin-top: 0px;
    margin-right: 7px;
    margin-bottom: 0px;
    margin-left: 7px;
    color: #666666;
}

#footerNavigationBar li:last-child {
    border-right-style: none;
}

#header h1 {
    float: left;
    display: block;
    position: relative;
    height: 88px;
    width: 301px;
    margin-left: 10px;
}

#homeLogo {
    height: 250px;
    width: 700px;
    display: block;
    position: relative;
    margin: 5px auto;
    text-decoration: none;
    color: #374E9B;
    font-size: 30px;
    font-weight: bold;
}

#modulesBar {
    display: block;
    float: left;
    list-style-position: outside;
    list-style-image: none;
    list-style-type: none;
    position: relative;
    text-align: center;
}

#modulesBar > li{
    display: block;
    float: left;
    position: relative;
}
#modulesBar > li > a{
    text-decoration: none;
    display: block;
    height: 26px;
    color: #CCCCCC;
    width: 100%;
    margin-top: 5px;
    margin-right: 8px;
    margin-left: 8px;
    font-weight: normal;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
}

#modulesBar > li > a:hover{
    color: #CCC;
    background-color: #4c4c4c;
}

#personaTitulo{
    position: relative;
    text-align: left;
    padding-left: 10%;
    margin-top: 10px;
}

.iconArrow{
    display: inline-block;
    width: 10px;
    height: 26px;
    position: absolute;
    right: -3px;
    background-repeat: no-repeat;
    background-position: -219px -3px;
}

#contentTitle h2 {
    color: #636478;
    position: relative;
    height: auto;
    width: auto;
    font-size: 22px;
    padding: 10px;
    margin-left: 255px;
}

#contentTitle h3 {
    color: #9A9AA6;
    position: relative;
    height: auto;
    width: auto;
    font-size: 19px;
}

.submenu {
    display: block;
    width: 100%;
    height: auto;
    float: left;
    clear: both;
    list-style-position: outside;
    list-style-image: none;
    list-style-type: none;
    font-size: 13px;
    font-weight: bold;
}
.submenu li  {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
}
.submenu li a  {
    text-decoration: none;
    color: #374E9B;
    width: 100%;
}

.submenu li a:hover {
    color: #999;
    background-image: url(../image/flecha_derecha.png);
    background-repeat: no-repeat;
    background-position: right;
    width: 100%;
    display: block;
}

.userMenu {
    list-style-type: none;
    display: block;
    float: right;
    width: auto;
    position: relative;
    height: 100%;
}

.userMenu > li{
    height: 100%;
}
/*-------------- BOTON USER -----------------------*/
#user {
    display: block;
    text-decoration: none;
    height: 30px;
    padding-top: 5px;
    padding-right: 8px;
    padding-left: 8px;
    display: block;
    text-align: center;
    color: white;
    cursor: default;
}

#user:link {

}

#user:hover {
    background-color:#4c4c4c;

}

/*------------- Boton SETTING, Boton MESSAGES -----------------------*/
.userMenu li #userSettings, .userMessage{
    background-repeat: no-repeat;
    height: 100%;
    width: 26px;
    display: block;
    background-position: -357px 2px;
}

.userMenu li #userSettings:link, .userMessage:link {
    background-repeat: no-repeat;
    height: 100%;
    width: 26px;
    display: block;
}

.userMenu li #userSettings:hover, .userMessage:hover{
    background-repeat: no-repeat;
    background-color:#4c4c4c;
    height: 100%;
    width: 26px;
    display: block;
}

.userMenu > li{
    position: relative;
    display: block;
    float: left;
}

.userMenu li:hover .firstSubLevel , #modulesBar li:hover .firstSubLevel   {
    display: inline-block;
    position: absolute;
    top: 100%;
    right: -10px;
}

.userMenu li:hover .firstSubLevel{
    right: 0px;
}
/*--Estilo de los botones de formulario (insert, delete, update, clear, search, etc) --*/
.button {
    margin: 10px 3px !important;
    -moz-box-shadow:inset 0px 1px 0px 0px #fafafa !important;
    -webkit-box-shadow:inset 0px 1px 0px 0px #fafafa !important;
    box-shadow:inset 0px 1px 0px 0px #fafafa !important;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f5f5f5), color-stop(1, #bdb7b7) ) !important;
    background:-moz-linear-gradient( center top, #f5f5f5 5%, #bdb7b7 100% ) !important;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#bdb7b7') !important;
    background-color:#f5f5f5 !important;
    -moz-border-radius:4px !important;
    -webkit-border-radius:4px !important;
    border-radius:4px !important;
    border:1px solid #848b8f !important;
    display:inline-block !important;
    color:#4a4a4a !important;
    font-family:Trebuchet MS !important;
    font-size:14px !important;
    font-weight:bold !important;
    padding:4px 8px !important;
    text-decoration:none !important;
    text-shadow:1px 1px 0px #ffffff !important;
    cursor: default !important;
}

.button:hover {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #bdb7b7), color-stop(1, #f5f5f5) ) !important;
    background:-moz-linear-gradient( center top, #bdb7b7 5%, #f5f5f5 100% ) !important;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bdb7b7', endColorstr='#f5f5f5') !important;
    background-color:#bdb7b7 !important;
}

.button:active {
    position:relative !important;
    top:1px !important;
}

td > .button{
    margin: 0px 3px !important;
}

/*Clase que define el primer nivel de ul anidado dentro de un menu de navegacion*/
.firstSubLevel  {
    background-color: #FFFFFF;
    list-style-type: none;
    list-style-position: outside;
    list-style-image: none;
    z-index: 500;
    width: auto;
    display: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: normal;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-right-color: #CCC;
    border-bottom-color: #CCC;
    border-left-color: #CCC;
}
.firstSubLevel li > a {
    text-decoration: none;
    color:#4E76C0;
    width: 100%;
    display: block;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-top-color: #B7B7B7;
    border-right-color: #B7B7B7;
    border-bottom-color: #B7B7B7;
    border-left-color: #B7B7B7;
    padding-top: 6px;
    padding-bottom: 6px;
}
.firstSubLevel li > a:hover {
    color: #FFFFFF;
    background-color: #6688ee;
}
.firstSubLevel li  {
    width: 13em;
    text-align: center;
    height: auto;
    display: inline-block;
    float: left;
    clear: both;
}
.firstSubLevel li:hover {
    background-color: #FFDEA1;
}

.textfield, select, .textArea/*, .calendar */{
    padding-left: 10px;
    padding-right: 10px;
    border-bottom: thin solid #BCCDC9;
    border-left: thin solid #BCCDC9;
    border-right: thin solid #BCCDC9;
    border-top: thin solid #9EB2AD;
    height: 25px;
    background-color: #F2FFFA;
    color: #818D8A;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-right: 10px;
}
.textfield:hover, .textArea:hover, select:hover/*, .calendar:hover */{
    color: #3D4241;
}
.textfield:focus, .textArea:focus, select:focus/*, .calendar:focus */{
    color: #3D4241;
    border-top-color: #F3C08D;
    border-right-color: #F3C08D;
    border-bottom-color: #F3C08D;
    border-left-color: #F3C08D;
    -webkit-box-shadow: #F3C08D 0 0 6px;
    -moz-box-shadow: #F3C08D 0 0 6px;
    box-shadow: #F3C08D 0 0 6px;
}

/*clase encargada de centrar la pagina*/
.wrapper {
    width: 930px;
    height: auto;
    display: block;
    position: relative;
    margin-right: auto;
    margin-left: auto;
    top: 0px;
    min-width: 930px;	/*overflow: hidden;*/
}

.wrapperMenu {
    width: auto;
    height: 35px;
    display: inline-block;
    position: relative;
    top: 0px;
    float: right;
}

.wrapperMenu.cf > form{
    display: inline-block;
    height: 100%;
}

#autocompleteContainer{
    display: inline-block;
}

/*Clase clear fix, que limpia los elementos float*/
.cf:before,
.cf:after {
    content: " "; 
    display: block;
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
*/
.cf {
    *zoom: 1;
}

.label{
    text-align: left;
    margin-right: 10px;
}

.permisionDescription{
    font-size: 13px;
    display: block;
    color: #88888F;
    margin-top: 3px;
}

.radioButton label{
    margin-right: 10px;
}

.field{
    display: block;
    width: 100%;
    margin-top: 10px;
}

.checkBox, .radioButton{
    margin-left: 20px;
}

.textArea{
    display: block;
    width: 97%;
    max-width: 97%;
    height: 100px;
    padding: 10px;
}

select{
    padding-right: 0px;
    height: 2em;
    width: auto;
    padding: 3px;
}

#homeContent{
    margin-bottom: 81px;

    border: 1px solid #8A95A6;
    height: 70px;
    background-color: #e3e9ff;
}

#homeLogin{
    height: 46px;
    width: 700px;
    margin: 0px auto;
    padding: 12px 20px;
    display: block;
    border-left: 1px solid #8A95A6;
    border-right: 1px solid #8A95A6;
}

#wrap{
    height: auto !important;
    min-height: 100%;
    height: 100%;
    position: relative;
}

#wrap #bodyFoot{
    height: 50px; 
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%;
    z-index: -9000;
}
#bodyFoot{
    position: relative;
}

.tableLabel{
    display: block;
}

.dataTable{
    border-collapse: separate;
    font-size: 12px;
    text-align: left;
    width: 100%;
    overflow: auto;
    border-bottom: 1px solid #D5DCDE;
}

.dataTable th{
    background: none repeat scroll 0 0 #D5DCDE;
    font-size: 13px;
    font-weight: bold;
    padding: 8px;
    text-align: left;
}

.dataTable td{
    background: none repeat scroll 0 0 #EDF4F7;
    border-top: 1px solid transparent;
    padding: 8px;
}

.dataTable th, .dataTable td{
    color: #494B4C;
    white-space: nowrap;
    vertical-align: middle;
}

.dataTable tr:hover td{
    background: none repeat scroll 0 0 #E6EDF0;
    color: #636667;
}

.formTable{
    margin: 20px 0;
    width: 100%;
}

.questioning:last-child {
    border-bottom: solid 1px #999999;
}   

.questioning{
    display: block;
    padding: 8px 0px;
    border-top: solid 1px #999999;
}
.questioningTitle{
    font-weight: bold;
    margin:30px 0 10px 0;
}

.question{
    width: 444px;
    padding: 0 10px;
    display: table-cell;
}

.answer{
    width: 52px;
    vertical-align: middle;
    display: table-cell;
}

.ui-inputfield, .ui-widget-content .ui-inputfield, .ui-widget-header .ui-inputfield{
    color: #636478 !important;
    font-weight: normal !important;
    font-size: 16px !important; 
}

.ui-button-text-only .ui-button-text{
    padding: 0px !important;
}

#formAutocomplete\:buscar_input{
    width: 320px !important;
}

.ui-autocomplete-panel .ui-autocomplete-table td{
    font-size: 12px;
    z-index: 1031 !important;
}

.ui-autocomplete-multiple-container{    
    width: 100% !important;
}

.ui-autocomplete-table td, .ui-state-highlight{
    border: none !important;
    border-bottom: 1px solid #999 !important;
}

.messageWrapper{
    width: 20.1em;
}

.messageBubble{
    color: seashell;
    width: auto;
    background-color: #BF0F0F;  
    border-radius: 2px 2px 2px 2px;
    font-size: 12px;
    font-weight: bold;
    overflow: hidden;
    padding-bottom: 1px;
    position: absolute;
    right: 72%;
    top: -5px;
    z-index: 101;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-radius: 2px 2px 2px 2px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 0 rgba(0, 39, 121, 0.77);
    display: block;
    padding: 0 2px;
    height: 16px;
}

.userMessage, .userMessage:link, .userMessage:hover{
    text-decoration: none;
    background-position: -549px 0;
}

.userMenu li:hover .userMessageList , #modulesBar li:hover .userMessageList{
    display: inline-block;
    position: absolute;
    top: 100%;
    right: -10px;
}

.userMenu li:hover .userMessageList{
    right: 0px;
}

/*Clase que define el primer nivel de ul anidado dentro de un menu de navegacion*/
.userMessageList{
    background-color: #FFFFFF;
    list-style-type: none;
    list-style-position: outside;
    list-style-image: none;
    z-index: 500;
    height: auto;
    width: 230px;
    display: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: normal;
    border-radius: 5px 5px 5px 5px;
    border-right: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    border-left: 1px solid #CCC;
    position: relative;
}

.uml-wrapper, .uml-row{
    width: 200px;
}

.uml-row{
    display: block;
    text-decoration: none;
    color: #4E76C0;
    border-bottom: 1px solid #8A95A6;
}

.uml-row:hover{
    color: #FFFFFF;
    border-bottom-color: white;
}

.uml-rowContent{
    display: block;
}

.uml-rowMessage{
    text-overflow: ellipsis;
    overflow : hidden;
    white-space: nowrap;
    display: inline-block;
    width: 200px;
}

.userMessageList li{
    display: block;
    width: auto;
    padding: 5px 15px;
}

.userMessageList tr{
    height: 40px;
    color: #4E76C0;
}

.userMessageList tr:last-child .uml-row{
    border-bottom: none;
}

.userMessageList tr:hover{
    background-color: #6688EE;
    color: #FFFFFF;
}

.acTitle /*ac= AUTOCOMPLETE*/{
    font-weight: bold;
}

.acID{
    width: 20% !important;
    font-size: 20px !important;
    vertical-align: middle;
}

.addButton{
    background-position: -1px 0px; 
    width: 21px;
    height: 19px;
    display: inline-block;
    color: white;
    font-size: 14px;

    border: none;
    padding: 0px;

}

.addButton:hover{
    background-position: -23px 0px; 
    padding: 0px;
}
.addButton:active{
    background-position: -45px 0px;
    padding: 0px;
}

.deleteButton{
    background-position: 0 -41px;
    display: block;
    height: 16px;
    width: 16px;

    border: none;
    padding: 0px;
}

.deleteButton:hover{
    background-position: -15px -41px;
    padding: 0px;
}

.deleteButton:active{
    background-position: -30px -41px;
    padding: 0px;
}

.mapButton{
    background-position: -435px 0px; 
    width: 21px;
    height: 23px;
    display: inline-block;
    border: none;
    padding: 0px;
    background-color: white;
}

.mapButton:hover{
    background-position: -456px 0px; 
    padding: 0px;
}
.mapButton:active{
    background-position: -477px 0px;
    padding: 0px;
}

.tableWrapper{
    margin: 0px auto;
    margin-top: 20px;
    overflow: auto;
    width: 100%;
    border: solid 1px #D5DCDE;
}

.required{
    color: red;
    font-size: 16px;
    font-weight: bold;
    margin: 0 10px;
}

.editButton{
    background-position: -117px 0px; 
    width: 16px;
    height: 16px;
    display: inline-block;

    border: none;
    padding: 0px;
}

.editButton:hover{
    background-position: -134px 0px; 
}

.editButton:active{
    background-position: -151px 0px; 
}

/*cambia el font de los elementos en el campo "para" en el autocomplete para enviar un notificacion*/
.ui-autocomplete-token-label{
    font-size: 10px !important;
}

.status{
    background-color: darkgray;
    height: 16px;
    width: 20px;
    display: inline-block;
    background-position: -552px -8px;
    border: none !important;
}

.formCheckbox{
    display: block;
    width: 900px;
    margin-top: 10px;
}

.formCheckbox td{
    display: block;
    float: left;
    width: 300px;
}


.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button{
    font-size: small !important;
    font-family: inherit !important
}

#formAutocomplete{
    display: block;
    width: 330px;
}

#settingsForm{
    margin-right: 15px;
}

.fieldSet{
    border: 1px solid #CCCCCC;
    margin: 8px 0;
    padding: 8px;
    max-width: 687px;
}

.fieldSet legend{
    padding: 0 7px;
    margin: 0 10px;
}

.fieldSegment{
    display: inline-block;
    height: 100%;
    margin: 0 10px;
    width: auto;
}

.fieldSegment .textArea{
    height: 64px;
    width: 438px;
}

#map_canvas {
    height: 100% 
}

.map{
    width:100%;
    height:400px;
    border: 1px solid #CCCCCC;
}

.tableCheckbox{
    display: block;
    height: auto;
    margin: 0 auto;
    width: auto;
}

.tableCheckboxTitle{
    text-align: center;
}

.tableLat{
    display: inline-block;
    width: 30%;
    padding-right: 20%;
}

.tableLon{
    display: inline-block;
    width: 50%;
}

.gmapInfoTitle{
    display: block;
    width: 100%;
    font-size: 11px;
    font-weight: bold;
    border-bottom: 1px solid darkgray;
    text-align: center;
}

.gmapInfoData{
    font-size: 11px;
    width: 100%;
    text-align: center;
    display: block;
}